<div class="fl kf-center">
	<div class="bk-a">
		<br />
		<div id="title">
			<a href="index.php">首页</a>><a href="memberPlan.php">会员中心</a>
		</div>
		<p class="member">
			会员忠诚计划
		</p>
		<div class="bk-l"></div>

		<!--会员中心开始-->
		<div class="nTab">
			<div class="TabTitle">
				<ul id="myTab">
					<li class="normal">
						<a href="?r=user/member">个人信息</a>
					</li>
					<li class="active">
						<a href="?r=order/list">我的预定</a>
					</li>
				</ul>
			</div>
			<button class="zc-button">
				<a href="?r=user/logout">退出会员中心</a>
			</button>
			<div class="TabContent">
					<table style="width:520px;margin-top:10px;margin-left:10px;" cellpadding="0" cellspacing="0">
						<tr>
							<td class="tab2-td2">预定编号</td>
							<td class="tab2-td2"><?php echo $order->order_no?></td>
							<td class="tab2-td2">预定房型</td>
							<td class="tab2-td2"><?php echo $order->room_name?></td>
						</tr>
						<tr>
							<td class="tab2-td2">入住时间</td>
							<td class="tab2-td2"><?php echo $order->in_date?></td>
							<td class="tab2-td2">退房时间</td>
							<td class="tab2-td2"><?php echo $order->out_date?></td>
						</tr>
						<tr>
							<td class="tab2-td2">预定数量</td>
							<td class="tab2-td2"><?php echo $order->room_count?>间</td>
							<td class="tab2-td2">提交时间</td>
							<td class="tab2-td2"><?php echo $order->submit_time?></td>
						</tr>
						<tr>
							<td class="tab2-td2">床型选择</td>
							<td class="tab2-td2">
								<?php 
									if ($order->bed_type == 2)
										echo '双床';
									else
										echo '大床';
								?>
							</td>
							<td class="tab2-td2">加床</td>
							<td class="tab2-td2">
								<?php 
									if ($order->add_bed == 1)
										echo '是';
									else
										echo '否';
								?>
							</td>
						</tr>
						<tr>
							<td class="tab2-td2">预定价格</td>
							<td class="tab2-td2"><?php echo $order->price?></td>
							<td class="tab2-td2">预定状态</td>
							<td  class="tab2-td2">
								<?php 
									if ($order->status == 1)
									{
										echo '等待付款&nbsp;<a href="?r=order/pay&id='.$order->id.'">付款</a>';
									}
									else if ($order->status == 2)
										echo '已付款';
									else
										echo '已取消';
								?>
								
							</td>
						</tr>
						<tr>
							<td class="tab2-td2" >特殊要求</td>
							<td class="tab2-td3" colspan="3"><?php echo $order->other?></td>
						</tr>
						<tr>
							<td class="tab2-td2">注意</td>
							<td colspan="3" class="tab2-td4" style="text-align: left;padding-left:5px;">
								1.预定已成功保留，请您在30分钟内进行支付，否则预定将被取消。
								<br/>
								2.如果您不需要本预定，请至会员中心"我的预定"中点击"取消"本次预定。
								<br/>
								3.付款成功后本预定不予取消及退款。
							</td>
						</tr>
					</table>
				<!--选项卡结束-->
			</div>
		</div>
		<!--会员中心结束-->
	</div>
</div>